FROM python:3.10
LABEL description='Django project for MyWeb'

WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.douban.com/simple
WORKDIR webRoot/
ENTRYPOINT [ "python", "server.py" ]
